<?php

namespace Events;

use \GatewayWorker\Lib\Gateway;

/**
 * Description of onClose
 *
 * @author saisai
 */
class onClose
{

    public static function run($client_id)
    {
        // 向所有人发送
        GateWay::sendToAll("$client_id logout");
    }

    //put your code here
}
